home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / UTILITY / AUTRD109.ARJ / MANUAL.DOC < prev    next >
Text File  |  1990-10-11  |  70KB  |  1,743 lines

  1.  
  2.       ┌────────────────────────────────────────────────────────────────┐
  3.       │                                                                │
  4.       │                                                                │
  5.       │                                                                │
  6.       │                                                                │
  7.       │                         AUTOREAD                               │
  8.       │                                                                │
  9.       │    A program to allow easy reading of large text files         │
  10.       │                       on a computer                            │
  11.       │                                                                │
  12.       │                   Author: David R Grigg                        │
  13.       │                                                                │
  14.       │                       Version 1.08                             │
  15.       │                       October 1990.                            │
  16.       │                                                                │
  17.       │                                                                │
  18.       │                                                                │
  19.       │                          MANUAL                                │
  20.       │                                                                │
  21.       │                                                                │
  22.       │            (C) Copyright David R Grigg, 1990                   │
  23.       └────────────────────────────────────────────────────────────────┘
  24.  
  25.  
  26.                                                  AUTOREAD Manual -1-
  27.  
  28.  1:  IMPORTANT NOTICE!
  29.      ═══════════════════════════════════════════════════════════════════════
  30.  
  31.       If you are reading this file on your computer in any other way
  32.       than using AUTOREAD itself, then you are losing out on the
  33.       value of AUTOREAD, and you will also not be able to try out the
  34.       software as you follow the examples given later in this
  35.       document.
  36.  
  37.       To read this document using AUTOREAD, go back to DOS and type:
  38.          AUTOREAD MANUAL  <and press the enter key>.
  39.  
  40.  
  41.  
  42.       DISCLAIMER
  43.       ──────────
  44.  
  45.       While every effort has been made to free AUTOREAD from errors, and
  46.       I can't imagine how AUTOREAD could cause you any problems, as a
  47.       matter of prudent legality, please heed the following notice:
  48.  
  49.       I, David R Grigg, accept NO RESPONSIBILITY OR LIABILITY for any
  50.       damage that may be caused to your computer, disks or data by the use
  51.       of AUTOREAD.
  52.  
  53.       If this makes you nervous, try AUTOREAD out on a floppy disk first.
  54.       As a matter of good practice you should always keep regular backups
  55.       of important files.
  56.  
  57.  
  58.  
  59.  
  60.                                                  AUTOREAD Manual -2-
  61.  
  62.  2:  Introduction
  63.      ════════════════════════════════════════════════════════════════════════
  64.  
  65.       I wrote this program because I often find myself in the
  66.       situation of having a large text file on my computer's hard
  67.       disk which I am using because it has some kind of information
  68.       of value to me.  Usually it is the manual for a shareware
  69.       program.
  70.  
  71.       I adore shareware.  I think the concept of trusting people to
  72.       pay a modest fee for software they genuinely find useful is
  73.       terrific.  And I use a lot of shareware (and pay the
  74.       appropriate registration fees).
  75.  
  76.       But the manuals for most shareware programs are distributed as
  77.       a text file unless you pay extra (and I generally don't).  So I
  78.       end up with very useful manuals in a very NON-useful form: a
  79.       large text file on my hard disk.
  80.  
  81.       Sure, I can print out the manual, but this can consume enormous
  82.       amounts of time, paper and printer ribbons (the QEDIT manual,
  83.       for example, is some 5500 lines long).  And besides, I can
  84.       never find the manual when I want it.  And even if I can,
  85.       finding the information I want can be very hard.
  86.  
  87.       Aren't computers supposed to make life easier?  Yet reading a
  88.       document on a computer screen is still extremely primitive.
  89.       Certainly you can use a useful utility like LIST, but this is
  90.       still missing something.  It's hard to navigate around in a
  91.       large text file, to find the next chapter, or to locate key
  92.       words.  Using the FIND utility in such programs is some help,
  93.       of course, but you have to type in the key word, and hope you
  94.       have spelt and punctuated it properly.
  95.  
  96.       AUTOREAD is my attempt to fill this perceived gap.  It works
  97.       very much like LIST, but it allows you to progressively
  98.       establish landmarks in the text and to go instantly to them.
  99.  
  100.       AUTOREAD allows the creation of several kinds of 'landmarks':
  101.  
  102.          * Chapter Stops
  103.  
  104.          * Pre-defined Keywords
  105.  
  106.          * Temporary Bookmarks
  107.  
  108.       These are all available via pull-down menus for easiest
  109.       possible use.
  110.  
  111.       What all this means is that you can very easily create a
  112.       comprehensive index to a particular text file, enabling you to
  113.       instantly find the section or information you are looking for.
  114.       It makes reading a text file on your computer as easy as
  115.       reading a hard copy, and in some respects easier.
  116.  
  117.  
  118.                                                  AUTOREAD Manual -3-
  119.  
  120.  3:  Shareware Notice
  121.      ══════════════════════════════════════════════════════════════════════
  122.  
  123.       AUTOREAD took a lot of effort to create.  And I am still
  124.       working on improving it.
  125.  
  126.       Please note that AUTOREAD is not, never has been, and never
  127.       will be free or public domain software.  It is shareware.
  128.  
  129.       The shareware concept is extremely simple.  If you obtain a
  130.       copy of a shareware program, find it useful to you, and wish to
  131.       continue using it, you must send the requested shareware fee to
  132.       the program author.
  133.  
  134.       Shareware relies entirely on trust.  But it is a concept which
  135.       has allowed the creation and distribution of a large body of
  136.       excellent software at very low cost.
  137.  
  138.       If you find AUTOREAD of use, please print out and fill in the
  139.       enclosed LICENSE.DOC document, and send it with the requested
  140.       $20 shareware fee to:
  141.  
  142.                   David R Grigg,
  143.                   1556 Main Road,
  144.                   Research,
  145.                   Victoria 3095
  146.                   Australia.
  147.  
  148.      NOTE:
  149.  
  150.      Most commercial software forbids you to make copies of it.
  151.      But because AUTOREAD is shareware software, you are positively ENCOURAGED
  152.      to share copies of AUTOREAD around, copy it for your friends,
  153.      upload it to bulletin boards, etc.  The only stipulations are that
  154.      all those who use AUTOREAD for longer than a trial period of 14 days
  155.      must pay the required shareware fee, and that AUTOREAD must be
  156.      distributed with all the associated files, being:
  157.  
  158.                     AUTOREAD EXE
  159.                     LICENSE  DOC
  160.                     MANUAL   ARD
  161.                     MANUAL   DOC
  162.                     MANUAL   ARI
  163.                     README   BAT
  164.                     CHAPMAKE EXE
  165.                     STATS    DOC
  166.                     STATS    EXE
  167.  
  168.  
  169.  
  170.                                                  AUTOREAD Manual -4-
  171.  
  172.  4:  Installing AUTOREAD
  173.      ══════════════════════════════════════════════════════════════════════
  174.  
  175.       AUTOREAD is extremely easy to install.
  176.  
  177.       The only file absolutely necessary to operating AUTOREAD is
  178.       AUTOREAD.EXE, which you should copy either into the same
  179.       directory as the documents you wish to use it on, or
  180.       (especially if you have a hard disk) into a directory which is
  181.       listed in your DOS PATH command (this is usually specified in
  182.       your AUTOEXEC.BAT file).
  183.  
  184.       Many hard disk users have a directory called \TOOLS on their
  185.       hard disk.  This is a good place for AUTOREAD.
  186.  
  187.       To use AUTOREAD on a particular text file (as an example, say a
  188.       file called MANUAL.DOC), you would enter the following at the
  189.       DOS prompt:
  190.  
  191.               AUTOREAD MANUAL.DOC
  192.  
  193.       If you don't enter the file name, you will be prompted for it.
  194.  
  195.            NOTE:
  196.  
  197.            If you don't enter a file extension (eg the .DOC above), then
  198.            AUTOREAD will attempt to find a file with the name you have
  199.            given it, with either of the following extensions:
  200.  
  201.                  .DOC
  202.                  .TXT
  203.  
  204.            If it still can't find the file, it will give up with an
  205.            error message.
  206.  
  207.  
  208.  
  209.                                                  AUTOREAD Manual -5-
  210.  
  211.  5:  Files Created by AUTOREAD
  212.      ══════════════════════════════════════════════════════════════════════
  213.  
  214.       AUTOREAD maintains two different files of its own for every
  215.       text file that you use it on.
  216.  
  217.       If you used it on a document called MANUAL.DOC, for example,
  218.       AUTOREAD would create the following files:
  219.  
  220.            MANUAL.ARI
  221.            MANUAL.ARD
  222.  
  223.       Unless you have changed the textfile since you last read it,
  224.       the .ARI file will be created only the first time you use
  225.       AUTOREAD on the text file.  The .ARD file, however, is
  226.       constantly read and rewritten.
  227.  
  228.       The .ARI file is an index of the starting points of each line
  229.       of the text file, and enables AUTOREAD to very speedily locate
  230.       parts of the file.  If it offends you to have a lot of
  231.       additional files in a directory, you can delete this file, but
  232.       then AUTOREAD will need to recreate it each time you access the
  233.       text file that it indexes.
  234.  
  235.       The .ARD file contains such data as the current location in the
  236.       file, a list of chapter stops and their starting lines, and a
  237.       list of keywords.  Note that the .ARD file is an ordinary text
  238.       file, which means that you can use a text editor to manipulate
  239.       it directly.
  240.  
  241.  
  242.            NOTE:
  243.  
  244.            If you just wish to use AUTOREAD quickly on a small file
  245.            you wish to look at but will probably never wish to fully
  246.            index and set up chapter stops on, you can append an
  247.            option, -Q, to the command line, eg:
  248.  
  249.               AUTOREAD MANUAL.DOC -Q
  250.  
  251.            This ensures that AUTOREAD will get rid of its .ARI file
  252.            on exit, and will not access or create an .ARD file.
  253.  
  254.  
  255.            NOTE:
  256.  
  257.            Users of AUTOREAD 1.01 should not that the index file
  258.            extension has been changed from the previous .IDX to
  259.            the current .ARI (this was to avoid possible conflicts).
  260.            If you have already created an .IDX file for a large
  261.            document, all you need do is to rename it; or alternatively
  262.            to delete it and let AUTOREAD recreate the index.
  263.  
  264.  
  265.  
  266.                                                  AUTOREAD Manual -6-
  267.  
  268.  6:  The AUTOREAD screen
  269.      ══════════════════════════════════════════════════════════════════════
  270.  
  271.       If you are using AUTOREAD to read this manual, you are already in the
  272.       default screen mode - Display Mode.
  273.  
  274.     6.1  Display Mode
  275.          ──────────────────────────────────────────────────────────────────
  276.  
  277.          This is the DISPLAY mode of AUTOREAD.  Note the top line, in
  278.          reverse colours, which indicates that you can press the
  279.          ESCAPE or ESC key to bring up the AUTOREAD Menu Bar, or hold
  280.          down the ALT key and then the press the X key on your
  281.          keyboard to exit AUTOREAD.
  282.  
  283.               NOTE:
  284.  
  285.               It is important to exit AUTOREAD in the standard
  286.               way, by pressing Alt-X.  Doing this saves important
  287.               information such as any chapter stops, and new keywords
  288.               you may have created.  If you exit in any other way (ie, by
  289.               simply turning off the computer, or by rebooting), this
  290.               information will not be saved.
  291.  
  292.               Despite the above, from version 1.08 onwards, I've added
  293.               the Alt-Q function, which lets you quit without saving the
  294.               above data, although you are prompted first.  This is for
  295.               those who KNOW they haven't created any new information, and
  296.               prefer to avoid an unnecessary disk access. Use with caution!
  297.  
  298.          At the bottom line of the screen you will see information on
  299.          the current line number, the current search direction, and
  300.          the pathname of the file being read.
  301.  
  302.  
  303.     6.2  Menu Mode
  304.          ─────────────────────────────────────────────────────────────────
  305.  
  306.          Pressing ESC changes the top line of the screen to a Menu
  307.          Bar.  See the section on The AUTOREAD Menu Bar for further
  308.          information.
  309.  
  310.  
  311.  
  312.                                                  AUTOREAD Manual -7-
  313.  
  314.  7:  Moving Around in Your Document
  315.      ══════════════════════════════════════════════════════════════════════
  316.  
  317.       The up and down arrow keys on your keyboard will scroll the
  318.       text on your screen in the indicated direction.
  319.  
  320.       Pressing PAGE UP on your keyboard will move to the previous
  321.       screen-full of information. (Unless you are at the start of the
  322.       file, of course).
  323.  
  324.       Pressing PAGE DOWN on your keyboard will move to the following
  325.       screen-full of information. (Unless you are at the end of the
  326.       file, of course).
  327.  
  328.       Holding down the Control (CTRL) key on your keyboard and
  329.       pressing HOME will go to the start of the file.
  330.  
  331.       Holding down the Control (CTRL) key on your keyboard and
  332.       pressing END will go to the end of the file.
  333.  
  334.       It is also possible to move to specific areas of the file by
  335.       using the AUTOREAD menu bar (see next section).
  336.  
  337.  
  338.     7.1  Crawl Read
  339.          ─────────────────────────────────────────────────────────────────
  340.  
  341.          Pressing any of the number keys (0..9) on the keyboard will start
  342.          the display crawling forward slowly, ideally at a comfortable
  343.          reading speed.  How fast the display crawls will depend on the
  344.          number you typed: 0 for the slowest crawl, 9 for the fastest.
  345.  
  346.          While you are in crawl mode, you can adjust the speed of crawl
  347.          by pressing another number key, or stop the crawl and carry
  348.          out some other function by pressing any key other than one
  349.          of the number keys.
  350.  
  351.  
  352.  
  353.                                                  AUTOREAD Manual -8-
  354.  
  355.  8:  The AUTOREAD Menu Bar
  356.      ══════════════════════════════════════════════════════════════════════
  357.  
  358.       You can call up the AUTOREAD menu bar simply by pressing the
  359.       Escape (ESC) key on your keyboard.
  360.  
  361.       The top line of your screen will alter to show a series of menu
  362.       choices, like this:
  363.     ┌────────────────────────────────────────────────────────────────────────┐
  364.     │ AUTOREAD:    Go   Chapter   Keyword   Mark   Find   Screen   Dump  ??? │
  365.     └────────────────────────────────────────────────────────────────────────┘
  366.  
  367.       The first entry will be highlighted.  You can move
  368.       the highlight by pressing the left and right arrow keys on your
  369.       keyboard.
  370.  
  371.       When the entry you want is highlighted, press the ENTER key on
  372.       your keyboard, and a sub-menu will appear.
  373.  
  374.       Alternatively, you can simply press the first letter of your
  375.       menu choice, and the sub-menu will immediately appear.  To
  376.       activate the Keywords sub-menu, for example, simply press the
  377.       'K' key on your keyboard.
  378.  
  379.       What follows is a brief description of each of the sub-menus
  380.       and what they do.  More detailed explanations are in following
  381.       chapters.
  382.  
  383.  
  384.     8.1  Go
  385.          ─────────────────────────────────────────────────────────────────
  386.  
  387.          The Go menu allows you to move quickly to different
  388.          positions in the file: the beginning, the middle, the end,
  389.          or to a specific line number.
  390.  
  391.          From Version 1.06, this menu also allows you to search for
  392.          page numbers in the document; this requires setting a 'template'
  393.          for how the document author has marked page numbering.  See
  394.          Chapter 9 for more information.
  395.  
  396.  
  397.     8.2  Chapters
  398.          ─────────────────────────────────────────────────────────────────
  399.  
  400.          This is perhaps the most powerful part of AUTOREAD.  This
  401.          menu allows you to find instantly any one of up to 500
  402.          'chapter stops', by selecting a description from a pull-down
  403.          menu.  They are called 'chapter stops' because the idea is
  404.          that you can set up such stops at the beginning of chapters
  405.          or major sections in the document.
  406.  
  407.          This menu allows you to find, create, delete or change an
  408.          existing chapter stop.
  409.  
  410.          It also allows you to clear all existing chapter stops, or
  411.          to automatically make chapter stops at standard points in a
  412.          document.
  413.  
  414.  
  415.     8.3  Keywords
  416.          ─────────────────────────────────────────────────────────────────
  417.  
  418.          An AUTOREAD keyword is like a FIND command for pre-defined
  419.          strings.  It means you can create a list of common or
  420.  
  421.                                                  AUTOREAD Manual -9-
  422.  
  423.          especially important words, perhaps from the index of the
  424.          manual, and quickly point to them.  Once you have chosen a
  425.          keyword to find, AUTOREAD will quickly scan the file looking
  426.          for the next occurrence of that keyword.
  427.  
  428.          Note that you can alter the direction of the search from
  429.          this menu.
  430.  
  431.          This menu allows you to find, create, or delete keywords.
  432.  
  433.  
  434.     8.4  Marks
  435.          ─────────────────────────────────────────────────────────────────
  436.  
  437.          'Marks' is short for 'bookmarks'.  They work in a very
  438.          similar way to chapter stops, except that they are temporary
  439.          (they vanish when you exit AUTOREAD), and the listing
  440.          entries simply give the bookmark number and the line number,
  441.          rather than a description.
  442.  
  443.          Bookmarks are intended as a quick way of placing a marker in
  444.          the text while you look for some other information, and then
  445.          being able to quickly return to where you left off.
  446.  
  447.          Note also that when you exit AUTOREAD, the current position
  448.          in the file when you exited is stored, so that the next time
  449.          you use AUTOREAD to read the file, the screen will be the
  450.          same as when you exited the previous time.
  451.  
  452.  
  453.     8.5  Find
  454.          ─────────────────────────────────────────────────────────────────
  455.  
  456.          This menu lets you search for any text (not a pre-defined
  457.          keyword).
  458.  
  459.          You can specify the direction of search from this menu.
  460.  
  461.  
  462.     8.6  Screen
  463.          ─────────────────────────────────────────────────────────────────
  464.  
  465.          This menu allows you to set the foreground colour and
  466.          background colour of the text on the screen, as well as
  467.          the colour of highlighted text.
  468.  
  469.  
  470.     8.7  Dump
  471.          ─────────────────────────────────────────────────────────────────
  472.  
  473.          This lets you dump parts of the document you are reading to
  474.          another file, or to the printer.  You can select the section
  475.          you wish to dump as just what is on the screen, the current
  476.          chapter or section, or a specified range of lines.
  477.  
  478.  
  479.                                                  AUTOREAD Manual -10-
  480.     8.8  ???
  481.          ─────────────────────────────────────────────────────────────────
  482.  
  483.          Choosing this option will bring up an information screen
  484.          about AUTOREAD.  It is not a help screen (limited help
  485.          is available by pressing F1 in Display Mode.
  486.  
  487.  
  488.                                                  AUTOREAD Manual -11-
  489.  
  490.  9:  Go Menu
  491.      ══════════════════════════════════════════════════════════════════════
  492.  
  493.       The Go Menu looks like this:
  494.  
  495.          ┌───────────────┐
  496.          │ Top    ^Home  │
  497.          │ Middle   -    │
  498.          │ End    ^End   │
  499.          │ ------------  │
  500.          │ Line Number   │
  501.          │ ------------  │
  502.          │ Page Number   │
  503.          │ Odd Page Set  │
  504.          │ Even Page Set │
  505.          │ Search DOWN   │
  506.          └───────────────┘
  507.  
  508.       Move the highlight around with the up and down arrow keys.
  509.       When it is on the selection you want, press ENTER on the
  510.       keyboard.  Alternatively, simply enter the first letter of your
  511.       choice.
  512.  
  513.       You will note next to some of the entries their 'short forms',
  514.       eg for Top you will also see ^Home.  This means that you can
  515.       enter the short form and have the action take place immediately
  516.       without needing to call up the AUTOREAD Menu Bar.  In other
  517.       words, to go to the top (or start) of a file, you can either
  518.       press ESC to get the Menu Bar, then G for the Go Menu, then T
  519.       for top, or simply press down the Control Key on your keyboard
  520.       and then the HOME key.
  521.  
  522.       This first four choices on the menu should be self-explanatory:
  523.  
  524.  
  525.     9.1  Top      (^Home)
  526.          ─────────────────────────────────────────────────────────────────
  527.  
  528.          Goes to the start of the file.
  529.  
  530.  
  531.     9.2  Middle
  532.          ─────────────────────────────────────────────────────────────────
  533.  
  534.          Goes to the very middle line of the file.
  535.  
  536.  
  537.     9.3  Bottom    (^End)
  538.          ─────────────────────────────────────────────────────────────────
  539.  
  540.          Goes to the end of the file.
  541.  
  542.  
  543.     9.4  Line Number
  544.          ─────────────────────────────────────────────────────────────────
  545.  
  546.          Lets you enter and go to a particular line number in the
  547.          document.
  548.  
  549.  
  550.                                                  AUTOREAD Manual -12-
  551.  
  552.     9.5  Page Number
  553.          ─────────────────────────────────────────────────────────────────
  554.  
  555.          From version 1.06, I have added the very valuable function of
  556.          being able to search for particular page numbers in the
  557.          document.  This is very useful if the document comes with a
  558.          contents page and index page which shows these page numbers.
  559.  
  560.          Searching for a page number is not as easy as it might sound,
  561.          however, because simply looking for a number such as say 25
  562.          will locate many erroneous instances of the number which are
  563.          not page numbers.
  564.  
  565.          So AUTOREAD requires that you set a 'template' for what the
  566.          page numbering looks like in the document.  Fortunately, this
  567.          is very easy for the user, and is described in the following two
  568.          sub-sections.
  569.  
  570.          Once you have created the template for a particular document,
  571.          you will never need to do it again, as AUTOREAD writes the
  572.          template(s) to the .ARD file.
  573.  
  574.          This may all sound complex.  However, FINDING a page once the
  575.          template is set could not be easier.  Simply choose Page Number
  576.          from the Go Menu, and then enter the desired page.  Note that
  577.          you can enter such constructs as '2-25' with no problems.
  578.  
  579.          AUTOREAD then does a text search for the desired page, checking
  580.          instances of the number against its template.
  581.  
  582.          NOTE:
  583.  
  584.          Page find is far from perfect.  Its success will depend on the
  585.          consistency of the way the manual author has set up page numbering.
  586.  
  587.  
  588.     9.6  Odd Page Set
  589.          ─────────────────────────────────────────────────────────────────
  590.  
  591.          To set up the page numbering template for odd pages, position
  592.          the document so that a line containing an odd page number is at
  593.          the top of the display screen.  Eg, in the Telix manual, I
  594.          positioned a line like this as the current line (unless you have
  595.          set a Screen Offset, this will be the top line of the screen):
  596.  
  597.         ┌─────────────────────────────────────────────────────────┐
  598.         │Telix v3.12                                           5  │
  599.         └─────────────────────────────────────────────────────────┘
  600.  
  601.          You will need to do this positioning in Display Mode, and then
  602.          hit ESC, G and choose Odd Page Set from the menu.
  603.  
  604.          You will be asked what the embedded page number is - in the
  605.          example given it was 5.  With numbering of the form 2-5, you
  606.          should enter this whole construct, ie 2-5, not just 5.
  607.          That's all there is to it.
  608.  
  609.                                                  AUTOREAD Manual -13-
  610.          NOTE:
  611.  
  612.          AUTOREAD assumes that Even Numbered pages are identical to Odd
  613.          Numbered pages unless told otherwise.  So if they are different
  614.          (eg, even pages have number at the left of screen), be sure to
  615.          set Odd FIRST, then set Even.
  616.  
  617.          NOTE:
  618.  
  619.          Avoid positioning on a page whose number is embedded in other
  620.          text on the line, eg, in the example given above it would have
  621.          caused problems to position on line 3,1,2 or 12, as these
  622.          numbers are all embedded in the 'Telix v3.12' string.
  623.  
  624.  
  625.     9.7  Even Page Set
  626.          ─────────────────────────────────────────────────────────────────
  627.  
  628.          This is identical to Odd Page Set, except you should position
  629.          the current line to an EVEN numbered page.  You only need to do
  630.          this if the format for even pages is different from that for
  631.          odd pages.
  632.  
  633.  
  634.     9.8  Search Direction
  635.          ─────────────────────────────────────────────────────────────────
  636.  
  637.          This allows you to determine the direction in which AUTOREAD will
  638.          search in looking for page numbering.  The default is DOWN, ie to
  639.          line numbers following the current line.
  640.  
  641.          UP searches to decreasing line numbers from the current line.
  642.  
  643.          GLOBAL searches from beginning of file.
  644.  
  645.          To toggle the direction, simply select this choice.
  646.  
  647.  
  648.                                                  AUTOREAD Manual -14-
  649.  
  650. 10:  Chapters Menu
  651.      ══════════════════════════════════════════════════════════════════════
  652.  
  653.       The Chapters Menu looks like this:
  654.  
  655.            ┌────────────┐
  656.            │ Find    F2 │
  657.            │ Add     F7 │
  658.            │ Edit       │
  659.            │ Delete     │
  660.            │ Sort LINE  │
  661.            │ ---------- │
  662.            │ Clear      │
  663.            │ Remove     │
  664.            │ Make       │
  665.            └────────────┘
  666.  
  667.       As indicated earlier, 'Chapter Stops' are perhaps the most
  668.       powerful part of AUTOREAD.  You can use it to move instantly to
  669.       the beginning of various chapters or sections within the text
  670.       file.
  671.  
  672.       This menu allows you to find instantly any one of up to 500
  673.       'chapter stops', by selecting a description from a pull-down
  674.       menu.
  675.  
  676.       The Chapters Menu also allows you to add, change and delete
  677.       such chapter stops, as described below:
  678.  
  679.  
  680.    10.1  Find   (F2)
  681.         ─────────────────────────────────────────────────────────────────
  682.  
  683.          This brings up a menu of the existing chapter stops.  You
  684.          can move the highlight to the wanted chapter stop by using
  685.          the up and down arrow keys.  Note that if there are enough
  686.          chapter stops, the listing will scroll up and down within
  687.          the box.  You can also use PAGE UP and PAGE DOWN to move
  688.          through the listing.
  689.  
  690.          Once you have selected your desired chapter stop, press
  691.          ENTER, and the screen will immediately fill with the text
  692.          starting at the desired chapter stop.
  693.  
  694.  
  695.    10.2  Add Current    (F7)
  696.         ─────────────────────────────────────────────────────────────────
  697.  
  698.          This allows you to set the current line (that is, the line
  699.          currently at the top of the display screen) as a chapter
  700.          stop.  If you make this choice from the Chapters menu, you
  701.          will be prompted for a description.  However if you use the
  702.          F7 key from Display Mode, there are no prompts - the computer
  703.          will make a warbling sound to show that it has captured the
  704.          current line.
  705.  
  706.  
  707.    10.3  Delete
  708.         ─────────────────────────────────────────────────────────────────
  709.  
  710.          This will allow you to get rid of a particular chapter stop,
  711.          which you identify from the same pull-down menu as for the
  712.          Find function.
  713.  
  714.          You will be prompted to confirm the delete.
  715.  
  716.                                                  AUTOREAD Manual -15-
  717.    10.4  Edit
  718.         ─────────────────────────────────────────────────────────────────
  719.  
  720.          This will allow you to edit the description of a particular
  721.          chapter stop, which you identify from the same pull-down
  722.          menu as for the Find function.
  723.  
  724.          Note that in this version of AUTOREAD, Edit does not allow
  725.          you to alter the line number of a chapter stop.
  726.  
  727.  
  728.    10.5  Sort on LINE or ALPHA
  729.         ─────────────────────────────────────────────────────────────────
  730.  
  731.          When you see the pull-down menu of chapter descriptions, the
  732.          default is for these to be listed in line number order,
  733.          ie, sequentially through the document.  For shareware manuals,
  734.          this is almost certainly the way you will want it.
  735.  
  736.          However, there may be instances where it would be useful to
  737.          have these descriptions listed in alphabetical order, and so
  738.          I have provided the capability to do this.
  739.  
  740.          To toggle the chapter descriptions into alphabetical order,
  741.          simply select the Sort choice from the chapters menu.  The
  742.          order shown toggles from LINE to ALPHA and back again each
  743.          time you select this choice.
  744.  
  745.  
  746.    10.6  Clear
  747.         ─────────────────────────────────────────────────────────────────
  748.  
  749.          This allows you to get rid of ALL current chapter stops.
  750.          Please use this carefully!
  751.  
  752.          You will be prompted to confirm the clear.
  753.  
  754.  
  755.    10.7  Remove (Duplicates)
  756.         ─────────────────────────────────────────────────────────────────
  757.  
  758.          This will remove duplicate chapter stops, that is, it will
  759.          remove the second and further instances of a chapter stop
  760.          referring to the same line of the document.  This can be useful
  761.          when cleaning up after a series of Makes (see below).
  762.  
  763.  
  764.    10.8  Make
  765.         ─────────────────────────────────────────────────────────────────
  766.  
  767.          This is an extremely powerful utility, which allows you to
  768.          AUTOMATICALLY create chapter stops from various kinds of
  769.          clue in the text of the document.
  770.  
  771.          If you choose Make, you are taken to a sub-menu, which
  772.          looks like this:
  773.  
  774.            ┌────────────┐
  775.            │ Textual    │
  776.            │ Procedural │
  777.            │ UpperCase  │
  778.            └────────────┘
  779.  
  780.          These options are each described in the following sections.
  781.  
  782.                                                  AUTOREAD Manual -16-
  783.  
  784.          Note: you can run any form of Make repeatedly on a file to identify
  785.          different levels of sections.  New chapter stops do not
  786.          overwrite existing ones, but are inserted in correct
  787.          document order.
  788.  
  789.  
  790.  
  791.    10.9  Textual Make
  792.         ─────────────────────────────────────────────────────────────────
  793.  
  794.          Textual make is the most secure form of the Make command, but will
  795.          only work for documents where the document author has used a
  796.          standard way of identifying chapter or section beginnings.
  797.  
  798.          Texutal Make allows you to scan the whole document, looking for a
  799.          designated string of text, and setting a chapter stop once it has
  800.          found it.  It is possible to set a line offset from the searched
  801.          for text, and a prefix for the description.
  802.  
  803.  
  804.          An example will make this easy to understand.
  805.  
  806.  
  807.     10.9.1  A Textual Make Example
  808.  
  809.             One of the first documents I used AUTOREAD on myself was
  810.             the manual for the excellent shareware text editor QEDIT.
  811.             This manual is some 5500 lines long.
  812.  
  813.             The document author had used a line of equal signs '===='
  814.             to underline each chapter heading, and a graphic line
  815.             '────' to underline each section heading.
  816.  
  817.             I first made a pass with Textual Make, searching for the line of
  818.             equal signs.
  819.  
  820.             Once I selected Textual Make, I was prompted for the text string
  821.             to search for.  I entered four equal signs, =====.
  822.  
  823.             I was then prompted for a line offset.  This allows you
  824.             to specify a line OTHER than the one on which the text
  825.             string was found as the actual chapter stop.  In my case,
  826.             since the wanted line was the line immediately ABOVE the
  827.             line of equal signs, I entered an offset of -1.  (If I
  828.             had wanted the line of equal signs itself, I would have
  829.             entered 0).
  830.  
  831.             I was then prompted for a prefix string.  The real value
  832.             of this is for sections or sub-sections, so I simply
  833.             pressed ENTER instead of entering a prefix.
  834.  
  835.             The program then took about 30 seconds to scan through
  836.             the whole QEDIT document and set up the chapter stops.
  837.             AUTOREAD took the first text on the line I indicated I
  838.             wanted the chapter stop on, and used this as its
  839.             description for that chapter stop.
  840.  
  841.             I then wanted to set up sections as chapter stops, so I
  842.             carried out another pass with Textual Make.
  843.  
  844.                                                  AUTOREAD Manual -17-
  845.  
  846.             Once I selected Textual Make, I was prompted for the text string
  847.             to search for.  I entered four graphic line characters, '────'.
  848.             (I used the ALT key and the numeric keyboard to enter these
  849.             characters - refer your DOS manual if you don't know how to do
  850.             this).
  851.  
  852.             I was then prompted for a line offset.  As again the
  853.             wanted line was the one above the graphic line, I entered
  854.             an offset of -1.
  855.  
  856.             I was then prompted for a prefix string.  I now wanted to
  857.             use this feature, to distinguish the section headings
  858.             from the chapter headings in the Find Chapter pull-down
  859.             menu.  So I entered a hyphen and a space, '- '.  These
  860.             characters were placed before the description for all the
  861.             chapter stops created during this Make pass.
  862.  
  863.             Another 30-40 seconds, and I had essentially the
  864.             equivalent of the contents page of the manual in the form
  865.             of a pull-down menu.
  866.  
  867.             Here is part of the chapter stops menu I created for
  868.             QEDIT.DOC:
  869.  
  870.             ┌──────────────────────────────────────────┐
  871.             │ - COLORS                                 │
  872.             │ - TABLE OF CONTENTS                      │
  873.             │ - ACKNOWLEDGEMENTS                       │
  874.             │ - INTRODUCTION                           │
  875.             │ - FEATURES                               │
  876.             │ - SYSTEM REQUIREMENTS                    │
  877.             │ - INSTALLATION                           │
  878.             │ CHAPTER 1. USERS GUIDE FOR QEDIT         │
  879.             │ - QUICK START                            │
  880.             │ - MENUS                                  │
  881.             │ - THE STATUS LINE                        │
  882.             │ - FILES                                  │
  883.             │ - VIEWING AND GETTING AROUND IN THE TEX  │
  884.             │ - CURSOR MOVEMENT                        │
  885.             │ - USING WINDOWS                          │
  886.             └──────────────────────────────────────────┘
  887.  
  888.          If you are using AUTOREAD on a document you are editing,
  889.          then I recommend the use of the stand-alone Make utility,
  890.          described below.
  891.  
  892.          Note that the means of designating chapter stops need not be types
  893.          of underline, as in the example above, but could be the word
  894.          CHAPTER in capitals (Note that Make distinguishes between upper and
  895.          lower case, unlike Find Text and Find Keyword), or a special
  896.          character or series of characters (eg ---> ).
  897.  
  898.          The best way to learn how Make works is to try it out.
  899.          Don't worry about making mistakes, you can always Clear and
  900.          start again.
  901.  
  902.  
  903.                                                  AUTOREAD Manual -18-
  904.  
  905.    10.10  Procedural Make
  906.         ─────────────────────────────────────────────────────────────────
  907.  
  908.          I added this function after I had been using AUTOREAD myself on
  909.          quite a number of different shareware manuals.  While the textual
  910.          make function works very well for manuals where the author has used
  911.          some standard form of underlining or text identifying the start
  912.          of chapters and sections, it proves awkward for instances where
  913.          the author has only used section numbering of the 'procedural'
  914.          form, ie:
  915.  
  916.                   1.0  INTRODUCTION
  917.                     1.1 Hello
  918.                     1.2 Goodbye
  919.                     1.2.1 Farewell
  920.                     1.2.2 Cheerio.
  921.  
  922.          So I added this function.  Selecting Procedural Make will result
  923.          in you being prompted for whether the section numbering is
  924.          numeric or alphabetic (some authors have appendixes sectioned off
  925.          in the form:  A.1, A.2, B.1, etc).
  926.  
  927.          Once you have made this choice, the program takes over.  If
  928.          numeric sectioning was chosen, then AUTOREAD will indentify as
  929.          a chapter stop any line whose first text was a number, and if
  930.          that number was followed by a period (.) before any other character.
  931.          It will also count the number of periods in the section number,
  932.          and indent the description appropriately.
  933.  
  934.          If alphabetic sectioning was chosen, then AUTOREAD will identify
  935.          as a chapter stop any line whose first character was an uppercase
  936.          letter and whose second character was a period.
  937.  
  938.  
  939.  
  940.    10.11  UpperCase Make
  941.         ─────────────────────────────────────────────────────────────────
  942.  
  943.           I added this form of Make when I discovered that there were
  944.           manuals (PKZIP is a good example) where the ONLY indication of
  945.           a chapter or section heading was that the heading was all in
  946.           upper case (capitals).
  947.  
  948.           UpperCase Make works by checking each line of the document
  949.           to see if it is all in uppercase.  At least the LAST THREE
  950.           non-blank characters in the line must be uppercase letters.
  951.           Any line meeting these requirements will be identified as a
  952.           chapter stop.
  953.  
  954.  
  955.    10.12  Problems with Make
  956.         ─────────────────────────────────────────────────────────────────
  957.  
  958.          Almost inevitably, with any of the above forms of Make, you will
  959.          end up with some invalid chapter stops.  You can either use the
  960.          Delete function from the Chapter menu to remove these, or edit the
  961.          .ARD directly (See Appendix C).
  962.  
  963.          One particular trap with Procedural Make is Contents Pages.
  964.  
  965.                                                  AUTOREAD Manual -19-
  966.  
  967.          AUTOREAD naturally cannot tell the difference from a section
  968.          heading in the body of the text and that heading repeated in the
  969.          Contents Page.  If you can edit the original document, it is
  970.          useful to simply insert some character other than a space or a
  971.          number in the left hand margin of the Contents Page, BEFORE you
  972.          do the Make.  This prevents AUTOREAD from seeing these section
  973.          headings.  If you can't edit the original document for some
  974.          reason, you will just need to tidy up the .ARD file manually.
  975.  
  976.          UpperCase Make is very subject to erroneous entries, because all
  977.          it has to go on is a line which is all in capitals.  You will
  978.          almost certainly need to do some weeding with this form of Make.
  979.          Also, the requirement that the last three characters be uppercase
  980.          letters (not numbers or symbols) means that some headings may be
  981.          missed if they end with a period or a number.
  982.  
  983.  
  984.    10.13  The Stand-Alone Make Utility
  985.         ─────────────────────────────────────────────────────────────────
  986.  
  987.         Particularly for the use of shareware authors who might like to
  988.         distribute a special version of AUTOREAD with their shareware
  989.         manuals (see Chapter 16), I have provided a stand-alone chapter
  990.         make utility, CHAPMAKE.EXE.  This is also useful to anyone using
  991.         AUTOREAD on a document which for whatever reason has to be altered
  992.         regularly.
  993.  
  994.         The advantage of this utility is that it allows you to set up an
  995.         automated chapter make which you can run each time you have
  996.         make a significant change to your manual or other document you
  997.         wish to use AUTOREAD on.
  998.  
  999.         To run CHAPMAKE, enter a command line such as the following:
  1000.  
  1001.               CHAPMAKE MANUAL
  1002.  
  1003.         However, you must first create a text file with the make commands in
  1004.         it.  This file normally has the same name as the document you'll use
  1005.         AUTOREAD on, but with an extent of .MAK. So if your document is
  1006.         called MANUAL.DOC, then the make file will be called MANUAL.MAK.
  1007.  
  1008.         Note however that you can optionally use a standard make file
  1009.         by including its name on the command line, eg:
  1010.  
  1011.               CHAPMAKE MANUAL STANDARD.MAK
  1012.  
  1013.         This has the advantage of being able to use a single standard
  1014.         make file for several different manuals.
  1015.  
  1016.         The make file can have any number of command lines.  There are
  1017.         only currently 4 commands, described as follows:
  1018.  
  1019.  
  1020.     10.13.1  C - Clear Chapters
  1021.  
  1022.           A line with the character 'C' at its start will clear all
  1023.           existing chapter stops, just as if you had selected Clear
  1024.           from the Chapters Menu.
  1025.  
  1026.           Note that any existing keywords are left untouched.
  1027.  
  1028.                                                  AUTOREAD Manual -20-
  1029.  
  1030.  
  1031.     10.13.2  T - Textual Make
  1032.  
  1033.           A line starting with 'T' has the effect of a Textual Make
  1034.           command as selected from the Chapters Menu.
  1035.  
  1036.           The 'M' must be followed by the text to search for, the
  1037.           line offset, and the prefix, all separated by slashes (/).
  1038.           These are exactly as you would enter them in the menu-driven
  1039.           make utility within AUTOREAD.
  1040.  
  1041.           For example, take the following line:
  1042.  
  1043.              T/  ══════/-1/* /
  1044.  
  1045.              │    │      │ │
  1046.              │    │      │ └─ Prefix
  1047.              │    │      └─   Line Offset
  1048.              │    └────────   Text to find
  1049.              └─────────────   Textual Make command
  1050.  
  1051.          This line in the make file would set up as chapter stops the
  1052.          lines preceding the text '  ══════', and would prefix the
  1053.          description with  '* '.
  1054.  
  1055.  
  1056.     10.13.3  N - Numeric Procedural Make
  1057.  
  1058.          A line beginning with 'N' acts exactly as if you had chosen
  1059.          Procedural Make from the Chapters Menu, and then selected
  1060.          Numeric section numbering.
  1061.  
  1062.  
  1063.     10.13.4  A - Alphabetical Procedural Make
  1064.  
  1065.          A line beginning with 'A' acts exactly as if you had chosen
  1066.          Procedural Make from the Chapters Menu, and then selected
  1067.          Alphabetic section numbering.
  1068.  
  1069.  
  1070.     10.13.5  U - UpperCase Make
  1071.  
  1072.          A line beginning with 'U' acts exactly as if you had chosen
  1073.          UpperCase Make from the Chapters Menu.
  1074.  
  1075.  
  1076.     10.13.6  R - Remove Duplicates
  1077.  
  1078.          A line beginning with 'R' acts exactly as if you had chosen
  1079.          Remove from the Chapters Menu.
  1080.  
  1081.  
  1082.     10.13.7  Example Make File:
  1083.  
  1084.          This is the Make file I use for the AUTOREAD manual:
  1085.  
  1086.                ┌───────────────────────────┐
  1087.                │    C                      │
  1088.                │    T/  ═══════/-1         │
  1089.                │    T/  ───────/-1/-- /    │
  1090.                │    R                      │
  1091.                └───────────────────────────┘
  1092.  
  1093.  
  1094.                                                  AUTOREAD Manual -21-
  1095.  
  1096. 11:  Keywords Menu
  1097.      ══════════════════════════════════════════════════════════════════════
  1098.  
  1099.       A keyword is simply a text string to be found in your document,
  1100.       and the Find Keyword function works exactly as does the Find
  1101.       Text function, except that you don't need to type in the
  1102.       required text: you simply select it from a pull-down menu.
  1103.  
  1104.       The Index of a document is a great place to find useful
  1105.       keywords.
  1106.  
  1107.       The Keywords Menu looks like this:
  1108.  
  1109.          ┌──────────────┐
  1110.          │ Find    F3   │
  1111.          │ Add          │
  1112.          │ Delete       │
  1113.          │ --------     │
  1114.          │ Search DOWN  │
  1115.          └──────────────┘
  1116.  
  1117.  
  1118.    11.1  Find   (F3)
  1119.         ─────────────────────────────────────────────────────────────────
  1120.  
  1121.          This brings up a menu of the existing keywords.  You can
  1122.          move the highlight to the wanted keyword by using the up and
  1123.          down arrow keys.  Note that if there are enough keywords,
  1124.          the listing will scroll up and down within the box.  You can
  1125.          also use PAGE UP and PAGE DOWN to move through the listing.
  1126.  
  1127.          Once you have selected your desired keyword, press ENTER,
  1128.          and the screen will begin searching in the indicated
  1129.          direction for the wanted keyword, putting up a display of
  1130.          the current line number being searched.  If the keyword
  1131.          cannot be found, an error message will appear.
  1132.  
  1133.          Note that unlike the Chapter Make command, Find Keyword
  1134.          IGNORES the difference between upper and lower case.  That
  1135.          is, 'DOS', 'Dos' and 'dos' will all be found by the same
  1136.          keyword choice.
  1137.  
  1138.          Once the keyword is found, you will be dropped back to Display
  1139.          mode, with the first occurrence of the wanted keyword on the top
  1140.          line, and all occurrences of the keyword on the current screen
  1141.          will be highlighted in the current highlight colour.
  1142.  
  1143.  
  1144.    11.2  Add
  1145.         ─────────────────────────────────────────────────────────────────
  1146.  
  1147.          This prompts you for the text of a new keyword, which will
  1148.          be added to the list of existing keywords in alphabetical
  1149.          order.
  1150.  
  1151.  
  1152.  
  1153.                                                  AUTOREAD Manual -22-
  1154.  
  1155.    11.3  Delete
  1156.         ─────────────────────────────────────────────────────────────────
  1157.          This will allow you to get rid of a particular keyword,
  1158.          which you identify from the same pull-down menu as for the
  1159.          Find function.
  1160.  
  1161.          You will be prompted to confirm the delete.
  1162.  
  1163.  
  1164.    11.4  Search Direction
  1165.         ─────────────────────────────────────────────────────────────────
  1166.  
  1167.          This specifies the current direction of search.  The default
  1168.          is DOWN, ie searches on increasing line numbers from the current
  1169.          line.
  1170.  
  1171.          UP searches to decreasing line numbers from the current line.
  1172.  
  1173.          GLOBAL searches from beginning of file.
  1174.  
  1175.          To toggle the direction, simply select this choice.
  1176.  
  1177.                                                  AUTOREAD Manual -23-
  1178.  
  1179. 12:  Marks Menu
  1180.      ══════════════════════════════════════════════════════════════════════
  1181.  
  1182.       Bookmarks are just like chapter stops - except that they are
  1183.       volatile (they vanish when you exit AUTOREAD), and that they do
  1184.       not have a description, just an ID number and a line number.
  1185.  
  1186.       Bookmarks are intended as quick reference points to 'hold your
  1187.       place' when you are looking for something else in a file.  You
  1188.       can only create a maximum of 10 bookmarks.
  1189.  
  1190.       The Marks Menu looks like this:
  1191.  
  1192.          ┌─────────────┐
  1193.          │ Find    F4  │
  1194.          │ Add Current │
  1195.          │ Enter       │
  1196.          │ Delete      │
  1197.          └─────────────┘
  1198.  
  1199.    12.1  Find   (F4)
  1200.         ─────────────────────────────────────────────────────────────────
  1201.  
  1202.          This brings up a menu of the existing bookmarks.  You can
  1203.          move the highlight to the wanted bookmark by using the up
  1204.          and down arrow keys.
  1205.  
  1206.          Once you have selected your desired bookmark, press ENTER,
  1207.          and the screen will immediately fill with the text starting
  1208.          at the desired bookmark.
  1209.  
  1210.  
  1211.    12.2  Add Current
  1212.         ─────────────────────────────────────────────────────────────────
  1213.  
  1214.          This allows you to set the current line (that is, the line
  1215.          currently at the top of the display screen) as a bookmark.
  1216.  
  1217.          You will be prompted for the bookmark number you wish this
  1218.          line to be recorded against.
  1219.  
  1220.  
  1221.    12.3  Enter
  1222.         ─────────────────────────────────────────────────────────────────
  1223.  
  1224.          This allows you to enter a line number directly for a new
  1225.          bookmark (ie, you don't have to have the display showing that
  1226.          line as the current line).
  1227.  
  1228.          You will be prompted for the bookmark number you wish this
  1229.          line to be recorded against.
  1230.  
  1231.  
  1232.    12.4  Delete
  1233.         ─────────────────────────────────────────────────────────────────
  1234.  
  1235.          This will allow you to get rid of a particular bookmark,
  1236.          which you identify from the same pull-down menu as for the
  1237.          Find function.
  1238.  
  1239.                                                  AUTOREAD Manual -24-
  1240.  
  1241.          You will be prompted to confirm the delete.
  1242.  
  1243.  
  1244.  
  1245.    12.3  Function Key Setting & Finding Marks
  1246.         ─────────────────────────────────────────────────────────────────
  1247.  
  1248.          Because bookmarks are mainly used for very rapid access to
  1249.          temporary locations in the file, AUTOREAD allows you to
  1250.          completely bypass the menu system in setting and finding
  1251.          bookmarks.
  1252.  
  1253.          While you are in DISPLAY mode and at a point in the text you
  1254.          wish to return to after looking somewhere else, hold down the
  1255.          SHIFT key and one of the function keys F1..F10.  You will hear
  1256.          a warbling sound, indicating that the equivalent bookmark has been
  1257.          set at that point (ie, pressing Shift F2 sets bookmark 2).
  1258.  
  1259.          After you have browsed elsewhere, you can hold down the ALT key
  1260.          and the function key (F1...F10) corresponding to the bookmark you
  1261.          set previously.  You will immediately jump back to the place you
  1262.          left.
  1263.  
  1264.          Note that you can use ALT and the function keys to jump to ANY
  1265.          bookmark, whether set with SHIFT + function key or set through
  1266.          the Marks menu.
  1267.  
  1268.  
  1269.  
  1270.                                                  AUTOREAD Manual -25-
  1271.  
  1272. 13:  Find Menu
  1273.      ══════════════════════════════════════════════════════════════════════
  1274.  
  1275.       The Find Menu looks like this:
  1276.  
  1277.          ┌─────────────────┐
  1278.          │ Find Text    F5 │
  1279.          │ Last Find:   F6 │
  1280.          │ --------------- │
  1281.          │ Search DOWN     │
  1282.          └─────────────────┘
  1283.  
  1284.  
  1285.    13.1  Find Text        (F5)
  1286.         ─────────────────────────────────────────────────────────────────
  1287.  
  1288.          This will prompt you for the text to be found.
  1289.  
  1290.          Once you have entered your desired text, press ENTER, and
  1291.          the screen will begin searching in the indicated direction
  1292.          for the wanted text, putting up a display of the current
  1293.          line number being searched.  If the text cannot be found, an
  1294.          error message will appear.
  1295.  
  1296.          Note that unlike the Chapter Make command, Find Text IGNORES
  1297.          the difference between upper and lower case.  That is,
  1298.          'DOS', 'Dos' and 'dos' will all be found by the same keyword
  1299.          choice.
  1300.  
  1301.          Once the wanted text is found, you will be dropped back to Display
  1302.          mode, with the first occurrence of the wanted wanted text on the
  1303.          top line, and all occurrences of the wanted text on the current
  1304.          screen will be highlighted in the current highlight colour.
  1305.  
  1306.  
  1307.    13.2  Last Find        (F6 or ^L)
  1308.         ─────────────────────────────────────────────────────────────────
  1309.  
  1310.          This retains a memory of the last text string you looked
  1311.          for, and enables you to select it again.  Otherwise, it
  1312.          works exactly like the Find Text command.
  1313.  
  1314.          Note that finding a keyword is treated as a find-text command,
  1315.          so that Last Find can be used to repeatedly find the same
  1316.          keyword.
  1317.  
  1318.  
  1319.    13.3  Search Direction
  1320.         ─────────────────────────────────────────────────────────────────
  1321.  
  1322.          This specifies the current direction of search.  The default
  1323.          is DOWN, ie searches on increasing line numbers.
  1324.  
  1325.          To toggle the direction, simply select this choice.
  1326.  
  1327.  
  1328.                                                  AUTOREAD Manual -26-
  1329.  
  1330. 14:  Screen Menu
  1331.      ══════════════════════════════════════════════════════════════════════
  1332.  
  1333.       This menu allows you to alter the foreground colour and
  1334.       background colour of the displayed text.  From version 1.08 onwards,
  1335.       this information is now stored in the .ARD file for the
  1336.       current document.
  1337.  
  1338.       The Screen Menu looks like this:
  1339.  
  1340.          ┌────────────────────────┐
  1341.          │ Foreground WHITE       │
  1342.          │ Background BLUE        │
  1343.          │ Highlights YELLOW      │
  1344.          │ -----------------      │
  1345.          │ Screen Offset:  0      │
  1346.          └────────────────────────┘
  1347.  
  1348.       Note that the current colours are shown on the menu.
  1349.  
  1350.       Once you select the foreground, background or highlight colour, you
  1351.       will be given a pull-down menu of the available colours.
  1352.  
  1353.       Note that the colour change does not take effect until you have
  1354.       pressed ESC to return to the display mode of AUTOREAD.
  1355.  
  1356.  
  1357.    14.1  Screen Offset
  1358.         ─────────────────────────────────────────────────────────────────
  1359.  
  1360.         This choice has been added in response to requests from users
  1361.         who prefer to see found keywords or chapter headings positioned
  1362.         somewhere other than at the top of the screen.  Entering a value
  1363.         of other than zero for the Screen Offset will position the
  1364.         'current line' that many lines down the displayed screen.  Note
  1365.         that the current line is now indicated with a highlighted triangle
  1366.         at the very right of the screen.
  1367.  
  1368.  
  1369.                                                  AUTOREAD Manual -27-
  1370.  
  1371. 15:  Dump Menu
  1372.      ══════════════════════════════════════════════════════════════════════
  1373.  
  1374.       The Dump Menu looks like this:
  1375.  
  1376.          ┌─────────┐
  1377.          │ Screen  │
  1378.          │ Chapter │
  1379.          │ Lines   │
  1380.          └─────────┘
  1381.  
  1382.       Dump allows you to copy ('dump') parts of the document you are
  1383.       reading either to another file, or to the printer.
  1384.  
  1385.       The choices shown relate to what parts of the document you wish
  1386.       to be dumped.  Once you have made this choice, you will be prompted
  1387.       whether you wish to dump to a file or a printer.  In the case of a
  1388.       file, you will be asked what file name, and if the file already
  1389.       exists, you will be asked if you wish to append to the end of the
  1390.       file, or to overwrite the existing file (ie, destroy it and start
  1391.       again).
  1392.  
  1393.  
  1394.    15.1  Screen
  1395.         ─────────────────────────────────────────────────────────────────
  1396.  
  1397.         Choosing this will dump just what you can see on the display
  1398.         screen at the current time, less the top and bottom status lines.
  1399.  
  1400.  
  1401.    15.2  Chapter
  1402.         ─────────────────────────────────────────────────────────────────
  1403.  
  1404.          This will dump the entire current chapter or section.  AUTOREAD
  1405.          will determine the 'current chapter' as the material between the
  1406.          chapter stop prior to the current line number, up to the line
  1407.          before the chapter stop following the current line number.
  1408.          If you position a chapter stop heading as the current line, then
  1409.          dump, you will dump from that heading to just before the next
  1410.          chapter stop heading.
  1411.  
  1412.          NOTE: One side effect is that if you have an alpha-sorted
  1413.          chapter list, AUTOREAD will re-sort it into line order when
  1414.          you make this choice.
  1415.  
  1416.  
  1417.    15.3  Lines
  1418.         ─────────────────────────────────────────────────────────────────
  1419.  
  1420.          This lets you enter your own start and ending line for the dump.
  1421.          Entering '1' for the first line, and some number larger than the
  1422.          last line in the file will dump the entire document.
  1423.  
  1424.  
  1425.                                                  AUTOREAD Manual -28-
  1426.  
  1427. 16:  To Other Shareware Authors
  1428.      ══════════════════════════════════════════════════════════════════════
  1429.  
  1430.       It seems to me that AUTOREAD would be an extremely useful
  1431.       program to distribute with your shareware manuals on disk.
  1432.  
  1433.       However, it doesn't seem very fair to the users of your
  1434.       software to be expected to pay a second shareware fee (to me)
  1435.       for the use of AUTOREAD on your manual.
  1436.  
  1437.       For this reason, I will provide a special version of AUTOREAD
  1438.       which will be set up to read only your manual file or files,
  1439.       from the same directory as those files.  You will need to pay
  1440.       me a shareware fee of $50 for this special version, and to
  1441.       write to me with the names of the files you want it to be able
  1442.       to read.  I will then provide you with the special version.  On
  1443.       the other hand, your shareware users will need to pay no
  1444.       additional fee to use AUTOREAD on your manual.
  1445.  
  1446.       You will find it very easy to set up the customised version of
  1447.       AUTOREAD to work with your manual, establishing chapter stops and
  1448.       appropriate keywords, so that your users will find your on-disk
  1449.       manual a truly easy-to-use and valuable reference.
  1450.  
  1451.       However, if you do not want to set up the appropriate chapter
  1452.       stops and keywords yourself, for an additional $30, if you supply
  1453.       me with a copy of your manual, I will establish the appropriate
  1454.       chapter stops and keywords and return the appropriate files to you.
  1455.  
  1456.  
  1457.                                                  AUTOREAD Manual -29-
  1458.  
  1459. 17:  Acknowledgements
  1460.      ══════════════════════════════════════════════════════════════════════
  1461.  
  1462.       AUTOREAD was written using Borland's Turbo Pascal 5.5, a great
  1463.       compiler which goes on getting better and better, and making me
  1464.       less and less keen to move to programming in C.
  1465.  
  1466.       I used QEDIT Advanced 2.08 from SEMWARE as my text editor during
  1467.       programming and for some of this manual.  I've also mentioned
  1468.       QEDIT in a number of places in this manual, to illustrate how
  1469.       AUTOREAD can be used to make access to a large text file manual
  1470.       easy, and I hope SEMWARE didn't mind me doing so!
  1471.  
  1472.       QEDIT is the best text editor I have ever used, and spoils you
  1473.       for all others.  It is shareware, and I recommend you write to
  1474.       SEMWARE at 730 Elk Cove Court, Kennesaw, Ga, USA for their
  1475.       current prices.
  1476.  
  1477.       Most of this manual was written using PC-Outline from Brown
  1478.       Bag Software, also shareware, and a program I use intensively
  1479.       for manuals, reports, etc, where section numbering and renumbering
  1480.       is required.  Write to Brown Bag Software, PO Box 60000, San
  1481.       Francisco, CA 94160-1719, USA for current prices.
  1482.  
  1483.       Thanks to Don Avila and Russell Herman for reporting bugs and
  1484.       suggesting improvements to AUTOREAD.
  1485.  
  1486.  
  1487.  
  1488.                                                  AUTOREAD Manual -30-
  1489.  
  1490. 18:  Version History
  1491.      ══════════════════════════════════════════════════════════════════════
  1492.  
  1493.       This is version 1.08 of AUTOREAD.  There may still be a few bugs
  1494.       in it.  I would be grateful if those who find such bugs could
  1495.       let me know.  Similarly, if you have any ideas for ways of
  1496.       improving the product, please let me know.
  1497.  
  1498.  
  1499.    18.1 Updates
  1500.         ─────────────────────────────────────────────────────────────────
  1501.  
  1502.         1.01 : (2 July 1990)
  1503.              - GLOBAL search direction added
  1504.              - fix to bug allowing line 0 to be displayed in status
  1505.              - fix to bug involving embedded '/' char in chapter
  1506.                description
  1507.  
  1508.         1.02 : (5 July 1990)
  1509.              - added highlighting of keywords and found text
  1510.              - changed index file extent from .IDX to .ARI
  1511.  
  1512.         1.03 : (6 July 1990)
  1513.             - added procedural make.
  1514.             - support for 43-line and 50-line screens.
  1515.             - added alpha sort for chapters
  1516.             - added stand-alone make utility
  1517.  
  1518.         1.04 : (14 July 1990)
  1519.             - added F1 function key for Help
  1520.             - added F5 function key for Last Find
  1521.             - added F6 function key for Jump to Next Chapter Stop
  1522.             - fixed Upper/Lower case problem with highlighting
  1523.             - fixed bug with files of longer than 32k lines
  1524.             - added Crawl Read
  1525.  
  1526.         1.05 : (23 July 1990)
  1527.            - added UpperCase make and set up Make sub-menu
  1528.            - increased maximum chapter stops and keywords to 500
  1529.  
  1530.         1.06 : (1 August 1990)
  1531.            - added F7 function for instant Add Chapter
  1532.            - added Page Find function
  1533.  
  1534.         1.07 : (6 August 1990)
  1535.            - added Dump function
  1536.            - added F5 for Find Text, rearranged other function keys
  1537.  
  1538.         1.08 : (20 September 1990)
  1539.            - fixed bug preventing last line of file being seen
  1540.            - added saving of screen colours to .ARD file
  1541.            - added screen offset feature
  1542.            - improved indexing procedure
  1543.            - added Alt-Q - Quit Without Data Save
  1544.            - added Remove Duplicates to Chapter Menu
  1545.  
  1546.                                                  AUTOREAD Manual -31-
  1547.  
  1548.  
  1549.    18.2 Planned Enhancements
  1550.         ─────────────────────────────────────────────────────────────────
  1551.  
  1552.         In future, I plan to add the following features to AUTOREAD:
  1553.  
  1554.         *  Auto-capture of keywords.
  1555.  
  1556.         *  Mouse operation.
  1557.  
  1558.  
  1559.  
  1560.                                                  AUTOREAD Manual -32-
  1561.  
  1562.    APPENDIX A: FUNCTION KEY SUMMARY
  1563.    ══════════════════════════════════════════════════════════════════════════
  1564.  
  1565.           ESC:  Toggle AUTOREAD menu bar
  1566.  
  1567.          0..9:  Scroll up steadily (0 for slowest,9 for fastest)
  1568.  
  1569.            F1:  Help
  1570.            F2:  Chapter Find                              Alt-C
  1571.            F3:  Keyword Find                              Alt-K
  1572.            F4:  Bookmark Find                             Alt-M
  1573.            F5:  Text Find                                 Alt-F
  1574.            F6:  Repeat Last Keyword or Text Find          Alt-L
  1575.            F7:  Add Chapter Stop (no prompts)             Alt-A
  1576.            F8:  Jump to Next Chapter Heading              Alt-J
  1577.  
  1578.         Alt-X: Quit with Data Save     Alt-Q: Quit with No Data Save
  1579.  
  1580.         Shift-F1
  1581.          thru       : Set Corresponding Bookmark
  1582.         Shift-F10
  1583.  
  1584.         Alt-F1
  1585.          thru       : Jump to Corresponding Bookmark
  1586.         Alt-F10
  1587.  
  1588.  
  1589.                                                  AUTOREAD Manual -33-
  1590.  
  1591.    APPENDIX B: COMMAND-LINE OPTIONS
  1592.    ══════════════════════════════════════════════════════════════════════════
  1593.  
  1594.    To use a command-line option, append the desired option (which must
  1595.    begin with a hyphen) to the command line you use to start up
  1596.    AUTOREAD, eg:
  1597.  
  1598.             AUTOREAD MANUAL.DOC -Q -B
  1599.  
  1600.    There are currently three command-line options, described below.
  1601.  
  1602.         -B:  Forces AUTOREAD to start up with a black-and-white
  1603.              screen display.  Useful for LCD screens and monochrome
  1604.              screens.
  1605.  
  1606.         -Q:  Prevents AUTOREAD from trying to access or to write
  1607.              an .ARD file for the document, and ensures that
  1608.              AUTOREAD erases the .ARI (if it needed to create it)
  1609.              at the end.
  1610.  
  1611.              This option is intended for quick access to small text
  1612.              files that you don't wish to establish chapter stops
  1613.              and keywords for.
  1614.  
  1615.      -Lnnn:  Where nnn is a line number, eg -L123
  1616.  
  1617.              Forces AUTOREAD to use the given line number as its
  1618.              current line number for its first display, ie it overrides
  1619.              the current line number given in the .ARD file.
  1620.  
  1621.  
  1622.  
  1623.                                                  AUTOREAD Manual -34-
  1624.  
  1625.    APPENDIX C: THE .ARD FILE FORMAT
  1626.    ══════════════════════════════════════════════════════════════════════════
  1627.  
  1628.    It's often worthwhile using a text editor directly on the .ARD file
  1629.    in order to tidy things up, quickly remove invalid chapter stops
  1630.    which were created by Make, and so on.  You can also capture the
  1631.    index pages of the original document and massage them into a list of
  1632.    keywords, which you can directly append to the .ARD file.
  1633.  
  1634.    The .ARD file is just an ordinary text file.
  1635.  
  1636.    The following applies to Version 1.08 of the software:
  1637.  
  1638.    The first line of the .ARD file is in the form:
  1639.  
  1640.              125/20/1254/15/1/14
  1641.  
  1642.    In order, these numbers represent:
  1643.  
  1644.       1) the number of chapter stops (maximum of 500);
  1645.       2) the number of keywords      (ditto)
  1646.       3) the current line number in the document when you left off
  1647.          reading it.
  1648.       4) the text colour
  1649.       5) the background colour
  1650.       6) the highlight colour
  1651.  
  1652.    Subsequent lines (2..number of chapter stops+1) are in the following
  1653.    format:
  1654.             1.0 INTRODUCTION/25
  1655.  
  1656.    The text is of course the chapter description text (max 40 chars), and
  1657.    the number following the slash is the line number where the chapter
  1658.    begins.
  1659.  
  1660.    After the chapter stops, the keywords are simply listed in alphabetical
  1661.    order, eg:
  1662.              Apple
  1663.              Banana
  1664.              Carrot
  1665.  
  1666.    Note that AUTOREAD will always reorder chapter stops in order of line
  1667.    number and keywords in alphabetical order, should you change the
  1668.    order in the .ARD file.
  1669.  
  1670.    The last two lines of the .ARD file specify the Odd and then Even
  1671.    page numbering templates, in the form:
  1672.  
  1673.           MyManual p./69
  1674.           MyManual/12
  1675.  
  1676.    where the text before the slash is the text that AUTOREAD uses to
  1677.    check that it has found a page numbering line, and the number after
  1678.    the slash is the column number near where AUTOREAD will check for the
  1679.    wanted page number in the page numbering line.   If no page templates
  1680.    has been set, then these numbers will be -1 for both odd and even pages.
  1681.  
  1682.    If you want to manipulate the .ARD file, feel free to do so.  Remember,
  1683.    though, that you must amend the first line to reflect any altered
  1684.    numbers of chapter stops and keywords.
  1685.  
  1686.  
  1687.                                                  AUTOREAD Manual -35-
  1688.  
  1689.    APPENDIX D: LIMITATIONS OF AUTOREAD
  1690.    ══════════════════════════════════════════════════════════════════════════
  1691.  
  1692.    AUTOREAD, like most things, is not perfect.  It has limitations.
  1693.  
  1694.    The most important of these is that AUTOREAD will choke if you feed it
  1695.    a file which is too big.
  1696.  
  1697.    Versions 1.01 thru 1.03 could handle files of up to 32,768 lines in
  1698.    length.  Version 1.04 onwards now handle files of twice this size, up to
  1699.    65,536 lines in length.  A typical text file of this length would be over
  1700.    2 MB in size on the disk, so in practice this should not be a severe
  1701.    limitation.
  1702.  
  1703.    You can create a maximum of 500 chapter stops and 500 keywords.
  1704.  
  1705.    AUTOREAD also has no way of determining if a file you are trying to use
  1706.    it on is in fact a text file.  It will do very wierd things if you use
  1707.    it on a binary file such as an .EXE file, for example.  If you need to
  1708.    examine binary files, use the Norton Utilities or LIST.
  1709.  
  1710.    AUTOREAD will also get very confused if you feed it files with very long
  1711.    lines.  While (in the current version) you only get to see the first 79
  1712.    characters on the line, AUTOREAD can at least handle without confusion
  1713.    files which include lines of up to 255 characters.  Any more than that,
  1714.    and AUTOREAD loses track of the beginnings of lines.
  1715.  
  1716.  
  1717.  
  1718.                                                  AUTOREAD Manual -36-
  1719.  
  1720.    APPENDIX E: MUSINGS ON THE WRITING OF MANUALS
  1721.    ══════════════════════════════════════════════════════════════════════════
  1722.  
  1723.    I guess I was naive when I first set out to create AUTOREAD.  I
  1724.    figured that most text file manuals would follow a similar sort of
  1725.    format.  Alas!  It is now clear that there are as many styles of
  1726.    manual as there are authors.
  1727.  
  1728.    This makes creating a utility like this one which will be able to
  1729.    do such stuff as automatically creating chapter stops very difficult.
  1730.  
  1731.    It amazes me that some authors create manuals where the section
  1732.    headings are barely given ANY kind of distinction from the rest of
  1733.    the body text.  No underlinings, no section numberings, not even
  1734.    all in caps.  Surely this makes these manuals difficult to read even
  1735.    in a hard copy printout?
  1736.  
  1737.    The same goes (in spades) for different ways of indicating page numbers.
  1738.  
  1739.    I guess this is a (selfish) plea for well designed manuals that
  1740.    AUTOREAD will work well with!
  1741.  
  1742.  
  1743.